/// @TOPDESC: this timestamp class has its own modules

#ifndef XM_TIMESTAMP_HH
#define XM_TIMESTAMP_HH

#include <iostream>
#include <string>

#include "pch.hh"

XM_NAMESPACE_BEGIN

struct XM_Timestamp
{
    XM_Timestamp();
    explicit XM_Timestamp(int64_t microSecSinceEpoch);
    static XM_Timestamp now();
    std::string toString() const;

private:
    int64_t microSecSinceEpoch__;
};

XM_NAMESPACE_END

#endif // head file protect